package com.ypd.shop.mapper;

import java.util.List;
import com.ypd.shop.domain.AuctionEnrollment;
import com.ypd.shop.domain.vo.EnrollVo;

/**
 * 拍卖报名记录Mapper接口
 * 
 * @author lin
 * @date 2025-03-02
 */
public interface AuctionEnrollmentMapper 
{
    /**
     * 查询拍卖报名记录
     * 
     * @param id 拍卖报名记录主键
     * @return 拍卖报名记录
     */
    public AuctionEnrollment selectAuctionEnrollmentById(String id);

    /**
     * 查询拍卖报名记录列表
     * 
     * @param auctionEnrollment 拍卖报名记录
     * @return 拍卖报名记录集合
     */
    public List<AuctionEnrollment> selectAuctionEnrollmentList(AuctionEnrollment auctionEnrollment);

    /**
     * 新增拍卖报名记录
     * 
     * @param auctionEnrollment 拍卖报名记录
     * @return 结果
     */
    public int insertAuctionEnrollment(AuctionEnrollment auctionEnrollment);

    /**
     * 修改拍卖报名记录
     * 
     * @param auctionEnrollment 拍卖报名记录
     * @return 结果
     */
    public int updateAuctionEnrollment(AuctionEnrollment auctionEnrollment);

    /**
     * 删除拍卖报名记录
     * 
     * @param id 拍卖报名记录主键
     * @return 结果
     */
    public int deleteAuctionEnrollmentById(String id);

    /**
     * 批量删除拍卖报名记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAuctionEnrollmentByIds(String[] ids);

    List<EnrollVo> selectAuctionMyEnrollmentList(AuctionEnrollment auctionEnrollment);
}
